package com.zjhome.cloudnote.service.impl;

import org.springframework.security.core.GrantedAuthority;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Setter;

/**
 * 权限类型，负责存储权限和角色
 * 
 * @author 0283000121
 *
 */

@AllArgsConstructor
@Setter
public class GrantedAuthorityImpl implements GrantedAuthority {
	private String authority;
	
	@Override
	public String getAuthority() {
		// 
		return authority;
	}	
}
